import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //查询合约信息
  queryFuturesInfo: (query) => api.get(`${config.interfaces.type1}odsFutBasicinfo/getFutBasicinfo`, query),
  //查询行情信息
  queryMarketInfo: (query) => api.get(`${config.interfaces.type5}instrument-server/futBasicinfo/getDailyquote`, query),
  //簿记下达
  tradeBookSave: (query) => api.post(`${config.interfaces.type1}futures/save`, query),
};
